body, div, p {
    font: 500 14px/36px Roboto, RobotoDraft, Helvetica, Arial, sans-serif, "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, tahoma, arial, simsun, 宋体;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
 * =======================
 *               THE CONFIRM.
 * =======================
*/
.common-mask {
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    box-sizing: border-box;
    background: #424242;
    transition: all .5s;
    opacity: .5;
    z-index: 10000;
}

.confirm-main {
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation: alert-animation .5s;
    transition: all .5s;
    box-sizing: border-box;
    box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.21);
    z-index: 10001;
    min-width: 300px;
}

.confirm-title {
    color: #212121;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.confirm-btn button {
    margin: 8px;
    float: right;
    padding: 0 8px;
    min-width: 88px;
}

/**
 * =======================
 *          THE ALERT.
 * =======================
 */
.alert-mask {
    background: transparent;
}

.alert-main {
    background: rgba(0, 0, 0, .54);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation: alert-animation .5s;
    transition: all .5s;
    box-sizing: border-box;
    border-radius: 2px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.54)
}

.alert-main p {
    color: #fff;
    padding: 5px 16px;
    font-size: 14px
}

@keyframes alert-animation {
    from {
        transform: translateX(-50%) translateY(-50%) scale(0);
    }
    to {
        transform: translateX(-50%) translateY(-50%) scale(1);
    }

}

/**
 * =======================
 *          THE INK REACTION.
 * =======================
 */
.ink-reaction-container {
    position: fixed;
    z-index: 99;
    overflow: hidden;
}

.ink-reaction {
    position: absolute;
    border-radius: 50%;
}

.ink-reaction-container .ink-reaction {
    background-color: rgba(255, 255, 255, 0.3);
    animation: ink-reaction .9s forwards cubic-bezier(0.31, 0.63, 0.58, 1.01);
}

@keyframes ink-reaction {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    80% {
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

/**
 * =======================
 *          THE AJAX TABLE.
 * =======================
 */
table.ajax-data-table {
    margin-top: 10px;
    border-collapse: collapse;
    border: none;
    width: 80%;
    min-width: 800px;
    text-align: left;
    color: #333333;
    box-shadow: 1px 2px 5px #E0E0E0;
}

table.ajax-data-table tr {
    border-bottom: 1px solid #E0E0E0;
}

table.ajax-data-table td, table.ajax-data-table th {
    line-height: 34px;
    border-left: 1px solid #E0E0E0;
    vertical-align: middle;
}

table.ajax-data-table td:first-of-type, table.ajax-data-table th:first-of-type {
    border-left: none;
}

table.ajax-data-table td:last-of-type {
    padding: 0;
}

table.ajax-data-table tbody tr:nth-of-type(2n+1), table.ajax-data-table tbody tr:nth-of-type(2n+1) input {
    background: #fff;
}

table.ajax-data-table tbody tr:nth-of-type(2n), table.ajax-data-table tbody tr:nth-of-type(2n) input {
    background: #eee;
}

table.ajax-data-table input[type="text"] {
    width: 100%;
    display: inline-block;
    border: none;
    outline: none;
    margin: 0;
    padding: 8px 5px;
    box-sizing: border-box;
}

.page-container {
    width: 80%;
    min-width: 800px;
}

.page-container ul li button {
    box-shadow: none;
    border-radius: 0;
    border: none;
    min-width: 45px;
}

.page-container p.count {
    padding: 0;
    height: 36px;
    line-height: 36px;
    margin-top: 14px;
    float: left;
    font-size: 14px;
}
